package com.example.service.impl;

import com.example.annotation.Inject;
import com.example.service.IBodyService;
import com.example.service.IService;

/**
 * Created by Administrator on 2016/12/24.
 */
public class MyServiceImpl implements IService {

    @Inject
    private IBodyService bodyService;


    @Override
    public void sayHello() {
        System.out.println("Hello,World");
        bodyService.sayHello();
    }
}
